Using Back-References And Sub-Queries With Sed